import request from '@/utils/request'
const api__register_name = '/edu/center/member'
const api__sms_name = '/api/sms'
export default {
    //根据手机号码发送短信
    getMobile(phone) {
        return request({
            url: `${api__sms_name}/send/${phone}`,
            method: 'get'
        })
    },
    //用户注册
    submitRegister(registerVO) {
        return request({
            url: `${api__register_name}/register`,
            method: 'post',
            data: registerVO
        })
    }
}